@model OA.Model.Manager
@{
    ViewBag.Title = "个人资料";
  }
@section head{
   <script type="text/javascript">
       $(document).ready(function () {
           $('.btnSubmit').click(function () {
               ajax_submit('.form_table', undefined, function (r) {
                   if (r.success) {
                       CloseMe();
                   }
               });
           });
       });
   </script>
}
@section body{
<body>
<table class="form_table">
    <col width="120px"/>
    <tbody>
        <tr>
            <th>用户名：</th>
            <td><input type="text" name="UserName" readonly="readonly" value="@Model.UserName" class="easyui-validatebox" data-options="required:true,validType:['length[1,32]','Account']" /></td>
        </tr>
        <tr>
            <th>姓名：</th>
            <td><input type="text" name="RealName" value="@Model.RealName" class="easyui-validatebox" data-options="required:true,validType:['length[1,64]']"/></td>
        </tr>
        <tr>
            <th>部门：</th>
            <td>
                <input name="GroupID" id="GroupID" value="@Model.GroupID" class="easyui-combotree" data-options="url:'@Url.Action("GroupTree","ManagerGroup")',lines:true" style="width:155px;" />
            </td>
        </tr>
        <tr>
            <th>电话：</th>
            <td><input type="text" name="Telephone" value="@Model.Telephone" class="easyui-validatebox" data-options="validType:'phone'"  /></td>
        </tr>
        <tr>
            <th>邮箱：</th>
            <td><input type="text" name="Email" value="@Model.Email" class="easyui-validatebox" data-options="required:true,validType:'email'" /></td>
        </tr>
        <tr>
            <th></th>
            <td>
               <input type="submit" value="提交保存" class="btnSubmit" />
            </td>
        </tr>
    </tbody>
</table>
</body>
}
